home *** CD-ROM | disk | FTP | other *** search
- The Greenhouse Effect Detection Experiment CD-ROM
- GEDEX
-
- Guide to Supporting Software
-
- Archibald Warnock
- and
- John R. Vanderpool
-
- Hughes STX Corp.
- 7601 Ora Glen Dr., Suite 300
- Greenbelt, MD 20770
-
-
-
- What is on this disk?
- ---------------------
-
- This disk includes software to help you use the climate data sets included
- on it. The software and data together reproduce the functionality and
- appearance of NASA's Climate Data System (NCDS), an interactive scientific
- data management system for locating, accessing, manipulating and displaying
- data from NASA and other correlative research missions. Using a unique
- approach we have designed this disk to run under five different operating
- systems: MS-DOS, SunOS, IRIX, and VMS (for specific information on using a
- particular system, refer to the corresponding section below).
-
- This portable approach allows the software to be run on a variety of
- different terminals. Therefore, the keys used will depend on the platform
- on which you run the CD-ROM. We will attempt to keep this document simple
- (1) by referring to the status line at the bottom of each screen and (2) by
- referring to the keys by function (e.g., Next Page), rather than by name.
- The status line tells you which key strokes can be used to navigate the
- system.
-
-
-
- How do I use this disk under MS-DOS?
- ------------------------------------
-
- Under MS-DOS, make your CD-ROM drive the default drive and then change to
- the subdirectory \SOFTWARE\DOS. Begin the program by entering the command
- "GEDEX" (which runs the batch file, GEDEX.BAT). The batch file defines
- some environment variables which the program needs to find the necessary
- files, then runs the program. GEDEX.BAT may be copied from the CD-ROM to
- another disk drive but requires minor editing to work properly. See the
- section below on "Installing The GEDEX Program On Your Hard Disk".
-
- You may get the error message "Out of environment space" when you first try
- to run the program. If this happens, it can be corrected by adding the
- following line to the file CONFIG.SYS in the root directory of your boot
- drive:
-
- shell=command.com /e:nnn /p
-
- where "nnn" is the number of bytes to reserve for environment space. There
- may already be such a line in your CONFIG.SYS file. If so, replace the
- value there with a larger number. If you have to add such a line to
- CONFIG.SYS, try using 256 or, if that doesn't work, 512. The default for
- MS-DOS version 3.3 is 160 bytes: you will want a larger value than that.
- You will need to reboot the computer for the change to take effect.
-
- The program uses a technique which allows nearly all of your system's
- memory to be available to the programs in the "Data Utilities" menu. This
- technique works by trying to swap out most of the memory used by the GEDEX
- program and leaving only a small "stub" of the program in memory. When you
- run any of the programs from the "Data Utilities" menu, the GEDEX program
- tries to swap itself into extended (XMS) memory and, failing that, into
- expanded (EMS) memory. If you have enough of either of these types of
- memory available, the swap will happen automatically. Should the program
- not be able to allocate enough memory to swap itself out, it will attempt
- to swap to a disk file. This is slower than swapping to memory but will
- still work. The GEDEX program looks for the environment variable TMP to
- decide where to write the scratch swap file.
-
- If none of these options works, the GEDEX program will keep itself in
- memory, leaving less available to the utility programs.
-
-
-
- Installing The GEDEX Program On Your Hard Disk
- ----------------------------------------------
-
- You can copy all of the files from the \SOFTWARE\DOS subdirectory on the
- CD-ROM to any directory on your hard disk. In order for the software to
- run correctly, you will need to modify the GEDEX.BAT file to explicitly add
- the drive letter of your CD-ROM drive to the paths in the SET commands. See
- the comments in the GEDEX.BAT file for more specific instructions. Note
- also that the executable files JAM.EXE, CDFLIST.EXE, CDFWALK.EXE,
- CDFBROW.EXE and CDFINQ.EXE do not have to be located in the same place as
- GEDEX.BAT, provided the directory which contains them is included in the
- PATH statement. PATH is set in the AUTOEXEC.BAT file found in the root
- directory of your boot disk.
-
-
-
- How do I use this disk under Unix (SunOS and Irix)?
- ---------------------------------------------------
-
- The software uses VT-100 emulation, so either use a character-based
- terminal, or use an xterm window (if you are using a bit-mapped display).
-
- The executable files for each of the supported Unix platforms were compiled
- using the following operating systems:
-
- SunOS 4.1.1 1 sun4c # Sun 4 (no Sun 3 support)
- IRIX 4.0.1 11150233 IP12 # Iris
-
-
- Both the Bourne/Korn and C shells are supported.
-
- To use the Bourne or Korn shell for SunOS or Irix operating systems,
- "source" in the GEDEX Bourne shell initialization file with:
-
- . /cdrom/software/sunos/gedex.sh
-
- or
-
- . /cdrom/software/irix/gedex.sh
-
- To use the C shell for SunOS or Irix operating systems, "source" in the
- GEDEX C shell initialization file with:
-
- source /cdrom/software/sunos/gedex.csh
-
- or
-
- source /cdrom/software/irix/gedex.csh
-
-
-
- How do I use this disk under VMS?
- --------------------------------
-
- The VAX/VMS version of the software was created using VMS version 5.4-3
- with no shared libraries. The software should run on any VAX/VMS platform;
- however, files on CD-ROM drives are unpredictable because of DEC's
- implementation of the ISO 9660-compatible driver software.
-
- To run the initialization at the DCL $ prompt enter:
-
- $ @dub255:[software.vms]gedex.com
-
- substituting your CD-ROM device name for dub255. Enter the same
- information when the command procedure prompts you.
-
-
-
- What do I see when I run the software?
- -------------------------------------
-
- When the program begins, an initial menu screen is displayed. The screen
- contains eight-character file names, along with descriptions of the data
- sets. Select a data set by moving the cursor to highlight the line
- containing the desired file name and description. Press the key for
- "Select": a screen of summary information will be displayed which
- corresponds to the data set chosen. Under MS-DOS, you can also use a
- mouse. Place the mouse cursor on your choice, and click the left mouse
- button to make your selection.
-
- The summary screen has a menu in the upper right corner, with the options
- "Parameters", "Sources & Sensors", "Detailed Catalog" and "Data Utilities."
- The first two give additional summary information about the data set.
- Selecting "Detailed Catalog" gives a table of contents for the
- documentation file describing the data set. You can select any section of
- the catalog by highlighting the line in the table of contents, then
- pressing the key for "Select." Remember, the status line at the bottom of
- the screen will tell you what keys are active and how to exit. Note that
- you can use the summary screen like a Rolodex by using the keystrokes
- corresponding to "Prev Card" and "Next Card". This avoids having to go
- back to the product menu screen repeatedly.
-
- The fourth menu selection, "Data Utilities" allows you the option of
- running some utility programs on the selected data set. Each of these
- programs has its own documentation (in the DOCUMENT directory) or help from
- inside the program itself. The last selection on the "Data Utilities" menu
- is "Shell". Selecting this option will temporarily transfer you to the
- operating system. The command to transfer you back into the GEDEX program
- after spawning out depends on the operating system you are running. Type
- "exit" under MS-DOS or Unix. Type "logoff" under VMS. To return to the
- "Data Utilities" menu after running any of the options, press the space
- bar.
-
-
- How are the data stored on this disk?
- -------------------------------------
-
- All of the data on this disk are stored in the DATA subdirectory. The
- files are binary, written in the NASA/GSFC Common Data Format (CDF). They
- are network-encoded for portability and are written with the single file
- option for simplicity. If you use the tools supplied through the Utility
- Menu of the GEDEX program, you will not have to concern yourself with the
- data format. If you want to understand this format for use with your own
- software packages or you wish to build your own tools, you can print out
- the full documentation (CDFDOC.PS, which is a Postscript file located in
- the \SOFTWARE\CDF subdirectory) or contact the CDF Support Office at
- 301-286-9506 or via e-mail on the Internet: cdfsupport@nssdc.gsfc.nasa.gov.
-
-
- How do I get data into an ASCII file?
- -------------------------------------
-
- The utility program CDFLIST has the capability to write a subset of a data
- set out to an ASCII file. You can run CDFLIST from the "Data Utilites"
- menu choice in the GEDEX software. Once inside the CDFLIST program, select
- the "FILE" or "FILE/TERMINAL" option from the output menu. You will be
- prompted for the name of the output file. After you have selected the
- variables you wish to extract, and have set the limits on which you want to
- filter the data, go to the "Action Menu" (by pressing Ctrl-F) and choose
- the "Generate Output" option. Your data will be sent to the output file,
- one variable per column.
-
-
- How do I get help from the GEDEX programming staff?
- ---------------------------------------------------
-
- Contact either Archibald (Archie) Warnock at 301-513-1685 or via e-mail on
- the Internet at warnock@nssdca.gsfc.nasa.gov (warnock@128.183.36.23)
-
- or John (Fish) Vanderpool at 301-513-1683 or via e-mail on the Internet at
- vander@nssdca.gsfc.nasa.gov (vander@128.183.36.23)
-
-
- Special Thanks
- --------------
-
- We owe many thanks to Jeff Love and Howard Leckner of Hughes STX and the
- CDF Project. Not only have they ably developed and maintained the CDF
- library and tools for general use, but their persistent efforts and
- responsiveness to suggestions brought the MS-DOS port of the CDF tools to
- distributable form. We could never have developed the portable software
- for a project such as this without them.
-
- We also wish to extend special thanks to Daniel Ziskin, a graduate student
- at Johns Hopkins University, funded through NASA grant NAG5-1476. He
- carefully tested the software, data, and documentation during the final
- phases of preparation of the disks. His gift of time and patience, and his
- willingness to serve as our primary "trial-run science user" will long be
- appreciated by our staff and the users of this disk.
-